﻿using BootstrapBlazor.Components;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;

namespace BootstrapBlazorApp.Shared.Data.SYS.Base
{
    public class BaseDto
    {
        [Display(Name = "主键")]
        [AutoGenerateColumn(Ignore = true)]
        public Guid? id { get; set; }


        /// <summary>
        /// 创建人
        /// </summary>
        [Display(Name = "创建人")]
        [AutoGenerateColumn(Visible = false, Editable = false)]
        public virtual string Creater { get; set; }

        /// <summary>
        /// 创建者名称
        /// </summary>
        [Display(Name = "创建人")]
        [AutoGenerateColumn(Editable = false)]
        public virtual string CreatedName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [Display(Name = "创建时间")]
        [AutoGenerateColumn(Editable = false)]
        public virtual DateTime? CreatedTime { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        [Display(Name = "修改人")]
        [AutoGenerateColumn(Visible = false, Editable = false)]
        public virtual string Modifier { get; set; }

        /// <summary>
        /// 修改者名称
        /// </summary>
        [Display(Name = "修改人")]
        [AutoGenerateColumn(Editable = false)]
        public virtual string ModifiedName { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        [Display(Name = "修改时间")]
        [AutoGenerateColumn(Editable = false)]
        public virtual DateTime? ModifiedTime { get; set; }

    }
}
